These data structures describe the sources to an effect. The SourceData data structure contains a pointer to either raw image compression manager image data or to an effect that acts as the source. The EffectSourcePtr data structure holds information about the type of source, and pointers to the track data of the effect and to the next source in the input chain.
typedef struct EffectSource EffectSource;
typedef EffectSource *EffectSourcePtr;
union SourceData {
CDSequenceDataSourcePtr image;
EffectSourcePtr effect;
};
typedef union SourceData SourceData;
struct EffectSource {
long effectType;
Ptr data;
SourceData source;
EffectSourcePtr next;
};
| Previous | Chapter Contents | Chapter Top | Next |